autoscalegroup_frontend

Configuration for Autoscalegroup Frontend resource.

Read/write properties

id<String>

Id is system generated key for all the auto-scale groups frontends.

frontend_name<String>

Frontend Name.
Minimum length = 1
Maximum length = 128

ipaddress_id<String>

One or more ipaddress id.

autoscalegroup_id<String>

ID of autoscalegroup.

ip_address<String>

One or more ipaddress.

access_type<Integer>

Access Type (0.External(public)/1.Internal(private)/2.None).
Maximum value =

ipaddress_id_list<String[]>

One or more ipaddress id.

ip_address_list<String[]>

One or more ipaddress.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get (all)getdeleteadd

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/autoscalegroup_frontend

Query-parameters:

filter

https://<MGMT-IP>/nitro/v2/config/autoscalegroup_frontend?filter=property-name1:property-value1,property-name2:property-value2

Use this query-parameter to get the filtered set of autoscalegroup_frontend resources configured on the system. You can set a filter on any property of the resource.

pagesize=#no&pageno=#no

https://<MGMT-IP>/nitro/v2/config/autoscalegroup_frontend?pagesize=#no&pageno=#no

Use this query-parameter to get the autoscalegroup_frontend resources in chunks.

count

https://<MGMT-IP>/nitro/v2/config/autoscalegroup_frontend?count=yes

Use this query-parameter to get the count of autoscalegroup_frontend resources.

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "autoscalegroup_frontend":[{
      "id":<String_value>,
      "frontend_name":<String_value>,
      "ipaddress_id":<String_value>,
      "autoscalegroup_id":<String_value>,
      "ip_address":<String_value>,
      "access_type":<Integer_value>,
      "ipaddress_id_list":<String_value>,
      "ip_address_list":<String_value>}]}

get

URL:https://<MGMT-IP>/nitro/v2/config/autoscalegroup_frontend/id_value<String>

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "autoscalegroup_frontend":[{
      "id":<String_value>,
      "frontend_name":<String_value>,
      "ipaddress_id":<String_value>,
      "autoscalegroup_id":<String_value>,
      "ip_address":<String_value>,
      "access_type":<Integer_value>,
      "ipaddress_id_list":<String_value>,
      "ip_address_list":<String_value>}]}

delete

URL:https://<MGMT-IP>/nitro/v2/config/autoscalegroup_frontend/id_value<String>

HTTPS Method:DELETE

Request Headers:

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value> }

add

URL:https://<MGMT-IP>/nitro/v2/config/autoscalegroup_frontend?onerror=<String_value>

HTTPS Method:POST

Request Headers:

Content-Type:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Request Payload:JSON

{"autoscalegroup_frontend": {
      "frontend_name":<String_value>,
      "autoscalegroup_id":<String_value>,
      "ip_address_list":<String_value[]>,
      "ip_address":<String_value>,
      "access_type":<Integer_value>,
      "ipaddress_id":<String_value>,
      "ipaddress_id_list":<String_value[]>,
      "id":<String_value>}}

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "autoscalegroup_frontend":[{
      "id":<String_value>,
      "frontend_name":<String_value>,
      "ipaddress_id":<String_value>,
      "autoscalegroup_id":<String_value>,
      "ip_address":<String_value>,
      "access_type":<Integer_value>,
      "ipaddress_id_list":<String_value>,
      "ip_address_list":<String_value>}]}